﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CardLogistics.Model.CardMaking
{
    /// <summary>
    /// 卡片制作_卡片需求单
    /// </summary>
    [Serializable]
    public partial class CardMaking_CardDemand
    {
        public CardMaking_CardDemand()
        { }
        #region Model
        private string _id;
        private string _demandno;
        private string _applicant;
        private string _cardmechanism;
        private DateTime? _applicadate;
        private DateTime? _carddate;
        private string _remarks;
        private string _lastupdateuser;
        private DateTime? _lastupdatedate;
        private DateTime? _addtime;
        private decimal? _issubmit;
        private string _SalesName;

        private string _Details;
        private int _CardTotal;
       
        /// <summary>
        /// 卡片需求单Id
        /// </summary>
        public string ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 需求单编号
        /// </summary>
        public string DEMANDNO
        {
            set { _demandno = value; }
            get { return _demandno; }
        }
        /// <summary>
        /// 申请人
        /// </summary>
        public string APPLICANT
        {
            set { _applicant = value; }
            get { return _applicant; }
        }
        /// <summary>
        /// 用卡机构
        /// </summary>
        public string CARDMECHANISM
        {
            set { _cardmechanism = value; }
            get { return _cardmechanism; }
        }
        /// <summary>
        /// 申请日期
        /// </summary>
        public DateTime? APPLICADATE
        {
            set { _applicadate = value; }
            get { return _applicadate; }
        }
        /// <summary>
        /// 需卡日期
        /// </summary>
        public DateTime? CARDDATE
        {
            set { _carddate = value; }
            get { return _carddate; }
        }
        /// <summary>
        /// 描述
        /// </summary>
        public string REMARKS
        {
            set { _remarks = value; }
            get { return _remarks; }
        }
        /// <summary>
        /// 最后修改人
        /// </summary>
        public string LASTUPDATEUSER
        {
            set { _lastupdateuser = value; }
            get { return _lastupdateuser; }
        }
        /// <summary>
        /// 最后修改时间
        /// </summary>
        public DateTime? LASTUPDATEDATE
        {
            set { _lastupdatedate = value; }
            get { return _lastupdatedate; }
        }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? ADDTIME
        {
            set { _addtime = value; }
            get { return _addtime; }
        }
        /// <summary>
        /// 0 未提交 1 待审核 2 审核中 3 驳回 4 审核不通过 5审核通过
        /// </summary>
        public decimal? ISSUBMIT
        {
            set { _issubmit = value; }
            get { return _issubmit; }
        }

        #region 添加字段，便于查询
        /// <summary>
        /// 类型详细信息 格式如：类型1ID,数量1|类型2ID,数量2
        /// </summary>
        public string Details
        {
            get { return _Details; }
            set { _Details = value; }
        }

        /// <summary>
        /// 用卡机构名称
        /// </summary>
        public string SalesName
        {
            set { _SalesName = value; }
            get { return _SalesName; }
        }
        /// <summary>
        /// 卡片需求总数
        /// </summary>
        public int CardTotal
        {
            set { _CardTotal = value; }
            get { return _CardTotal; }
        }
        #endregion
        #endregion Model

    }
}
